package com.zkingsoft.web.dao;

import com.zkingsoft.web.bean.BizXefCertificate;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;

/**
 * @description 证书查询
 * @author admin
 * @date 2020-03-22 18:12
 */
public interface BizXefCertificateDao{

	public int insert(@Param("item") BizXefCertificate bizXefCertificate);
   	
   	public int batchInsert(@Param("list") List<BizXefCertificate> bizXefCertificateList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record") BizXefCertificate bizXefCertificate);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String xcId);

	public int deleteByModel(@Param("record") BizXefCertificate bizXefCertificate);
	
	public List<BizXefCertificate> selectInPage(@Param("record") BizXefCertificate bizXefCertificate, @Param("pageVo") PaginationVO pageVo);

	public List<BizXefCertificate> selectByModel(@Param("record") BizXefCertificate bizXefCertificate);
	
	public int selectTotalRecord(@Param("record") BizXefCertificate bizXefCertificate);
	
	public BizXefCertificate  selectById(String xcId);
	public List<BizXefCertificate>  selectByNameOrCode(@Param("orgName") String orgName,@Param("code")String code );

	public BizXefCertificate  selectForUpdate(String xcId);
	
}